﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using AutoMapper;
using FwProject.Restaurant.Dto;

namespace FwProject.PrePaymentInfo.Dto
{
    /// <summary>
    /// 收款
    /// </summary>
    [AutoMap(typeof(ReceiptInfoModel))]
    public class ReceiptInfoInputQuickEdit
    { 
        /// <summary>
        ///餐厅编号id
        /// </summary>
        public Guid RestaurantId { get; set; }

        /// <summary>
        /// 整单金额 此金额是后台制单后的应收金额SettlementInfo Actualprice 字段
        /// </summary>
        public decimal WholeAmount { get; set; }
        /// <summary>
        /// 应收回金额(WholeAmount-PreferentialAmount)
        /// </summary>
        public decimal ActualAmount { get; set; }
        /// <summary>
        /// 使用预收款
        /// </summary>
        public decimal UsePrePayment { get; set; }
        /// <summary>
        /// 实际收回金额
        /// </summary>
        public decimal TaskBackAmount { get; set; }
        /// <summary>
        /// 预收款剩余金额
        /// </summary>
        public decimal UsePrePaymentSurplus { get; set; }
        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal PreferentialAmount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string RemarksConten { get; set; }
    }
}
